package com.audi.box.devicecenter;

public class CommandOn implements ICommand {

	private Device device;
	
	public void CommandOn(Device device){
		this.device = device;
	}
	
	public void setDevice(Device device){
		this.device = device;
	}
	
	@Override
	public int exec() {
		return device.turnOn();
	}

}
